/**
 *
 */
package anyware.common.restlet;

import org.restlet.resource.Representation;
import org.restlet.resource.Variant;

/**
 * TODO: doc me
 *
 * @author keke<keke@codehaus.org>
 * @revision $Revision: 111 $
 * @version 0.0.1
 */
public interface RepresentationHandler {

	Object toEntity(Representation representation);

	Representation toRepresentation(Object entity, Variant variant);

}
